from curl_cffi import requests


url = "https://h5api.m.1688.com/h5/mtop.relationrecommend.wirelessrecommend.recommend/2.0/?jsv=2.7.4&appKey=12574478&t=1762861703113&sign=f5fdef9c9cf112c55b2df46acdbb62c8&api=mtop.relationrecommend.WirelessRecommend.recommend&ignoreLogin=true&prefix=h5api&v=2.0&dataType=jsonp&jsonpIncPrefix=fetchTpp_32517_getOfferList&timeout=20000&type=jsonp&callback=mtopjsonpfetchTpp_32517_getOfferList3&data=%7B%22appId%22%3A32517%2C%22params%22%3A%22%7B%5C%22verticalProductFlag%5C%22%3A%5C%22pcmarket%5C%22%2C%5C%22searchScene%5C%22%3A%5C%22pcOfferSearch%5C%22%2C%5C%22charset%5C%22%3A%5C%22utf8%5C%22%2C%5C%22beginPage%5C%22%3A1%2C%5C%22pageSize%5C%22%3A60%2C%5C%22keywords%5C%22%3A%5C%22%25E7%2594%25B7%25E8%25A3%2585%5C%22%2C%5C%22spm%5C%22%3A%5C%22a260k.home2025.category.dL2.66333597bN5ZeO%5C%22%2C%5C%22method%5C%22%3A%5C%22getOfferList%5C%22%7D%22%7D"

res = requests.get(
    url,
    headers={
        'user-agent':'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36',
        'referer':'https://s.1688.com/',
    },
    cookies={
        "_m_h5_tk": "58c646a97a4458e88824b67e101d0286_1762868312362",
        "_m_h5_tk_enc": "6b7b6eda52992657ea627cfb22b3f161",
    },
)
print(res.text)